package com.mcxx.modules.statistics.service.read;

import com.mcxx.modules.statistics.dao.read.StatisItemReadDao;
import com.mcxx.modules.statistics.dao.read.StatisStatisItemReadDao;
import com.mcxx.modules.statistics.entity.StatisItemEntity;
import com.yinhai.ta404.core.transaction.annotation.TaTransactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
@TaTransactional(readOnly = true)
public class StatisticItemReadService {
    @Autowired
    private StatisItemReadDao statisItemReadDao;

    public List<StatisItemEntity> queryItemsByItemSetId(String itemSetId){
          return statisItemReadDao.queryItemsByItemSetId(itemSetId);
    }
}
